package com.hk.patterntrains.factorypattern;

public abstract class PizzaStore {


    public final void orderPizza(String pizzaType){
        Pizza pizza = createPizza(pizzaType);
        pizza.bake();
        pizza.cut();
        pizza.box();

    }

    protected abstract Pizza createPizza(String pizzaType);
}
